import java.awt.EventQueue;
import java.sql.Date;
import other.*;

import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;


public class Main{

	public static void main(String[] args)
	{
		
		try {
		    for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
		        if ("Nimbus".equals(info.getName())) {
		            UIManager.setLookAndFeel(info.getClassName());
		            break;
		        }
		    }
		} catch (Exception e) {
		    // If Nimbus is not available, fall back to cross-platform
		    try {
		        UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
		    } catch (Exception ex) {
		        // not worth my time
		    }
		}
		
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					AssetRegistryFrame frame = new AssetRegistryFrame();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}
}
